메인 콘텐츠로 건너뛰기
GET
/
logs
Get audit logs
curl --request GET \
  --url https://your_a2_service/logs \
  --header 'Authorization: Bearer <token>'
[
  {
    "affected_resource": "<string>",
    "description": "<string>",
    "event_type": "<string>",
    "id": 123,
    "new_value": {},
    "old_value": {},
    "timestamp": "2023-11-07T05:31:56Z",
    "user_email": "<string>",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

event_types
string[] | null
user_id
string<uuid> | null
user_email
string | null
start_date
string<date-time> | null
end_date
string<date-time> | null

Response

Successful Response

event_type
string
required

이벤트 유형

id
integer
required

로그 id

user_email
string
required

로그와 연관된 사용자의 이메일

user_id
string<uuid>
required

로그와 연관된 사용자의 id

affected_resource
string | null

로그와 연관된 영향을 받은 리소스

description
string | null

The detailed description of the event that occurred

new_value
object | null

변경 이후 리소스 상태의 JSON 표현

old_value
object | null

변경 이전 리소스 상태의 JSON 표현

timestamp
string<date-time>

로그 타임스탬프